package com.pf.rule.dto;

import com.pf.common.constant.LogModuleCodeConstant;
import com.pf.log.annotation.LogBusinessId;
import com.pf.log.annotation.LogDateTimeFormat;
import com.pf.log.annotation.LogField;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author PanFei
 * @version 1.0.0
 * @createTime 2023/7/18 23:06
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class RiskInfoParam {

    @LogBusinessId(moduleCode = LogModuleCodeConstant.RISK_INFO)
    private String riskId;

    @LogField(moduleCodeGroup = {LogModuleCodeConstant.RISK_INFO})
    private String riskDesc;

    @LogField(moduleCodeGroup = {LogModuleCodeConstant.RISK_MANAGER})
    private String riskStatus;

    @LogDateTimeFormat
    @LogField(moduleCodeGroup = {LogModuleCodeConstant.RISK_INFO, LogModuleCodeConstant.RISK_MANAGER})
    private Date plannedFinishDate;
    private String status;
}
